//
//  UIDevice+DDAdd.h
//  AFNetworking
//
//  Created by 许龙 on 2020/3/25.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, UIDeviceType) {
    UIDeviceIS_IPHONE_4S,
    UIDeviceIS_IPHONE_5,
    UIDeviceIS_IPHONE_6,
    UIDeviceIS_IPHONE_6P
};

NS_ASSUME_NONNULL_BEGIN

@interface UIDevice (DDAdd)

/**
 Returns if it's iPhone x, AppExtision will return NO.
 */
- (BOOL)isIPhoneXSeries;

+ (UIDeviceType)getDeviceType;

@end

NS_ASSUME_NONNULL_END
